package com.gec.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.dto.SysLoginLogDto;
import com.gec.model.system.SysLoginLog;
import com.gec.model.vo.SysLoginLogQueryVo;
import com.gec.system.util.Result;

/**
 * <p>
 * 系统访问记录 服务类
 * </p>
 *
 * @author llt
 * @since 2023-04-20
 */
public interface SysLoginLogService extends IService<SysLoginLog> {

    Result getLoginLogPage(Integer pageNum, Integer pageSize, SysLoginLogDto sysLoginLogDto);

    public void recordLoginLog(String username, String ipaddr, Integer status, String msg);

    Result getLastMonthLoginLog();



    IPage<SysLoginLog> selectPage(long page, long limit, SysLoginLogQueryVo sysLoginLogQueryVo);
}
